1bashThis demonstrates basic awk usage for extracting specific fields from text.echo -e "hello world\nawk cheatsheet" | awk '{print $2}'external toolsawkfield extraction
2bashThis demonstrates extracting the second word from a string using awk.echo "hello world" | awk '{print $2}'external toolsawkbasic field extraction